<template>
  <div class="detailview">
    <div class="content">
      <el-tabs v-model="activeName" @tab-click="handleClick">
        <el-tab-pane label="请求通知" name="first">
              <RequestNoticeCom />
        </el-tab-pane>
        <el-tab-pane label="请求确认" name="second"></el-tab-pane>
        <el-tab-pane label="处理请求/故障信息追加" name="fourth"> </el-tab-pane>
        <el-tab-pane label="完成通知/故障恢复" name="five"></el-tab-pane>
      </el-tabs>
    </div>
  </div>
</template>

<script>
import RequestNoticeCom from './component/RequestNoticeCom.vue'

export default {
  components:{RequestNoticeCom},
  data() {
    return {
      activeName: "first",
    };
  },
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
  },
};
</script>

<style lang='scss' scoped>
.detailview {
  // padding: 20px;
  .content {
    background: #ffffff;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
  }
}
</style>